Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add opacity to layers and fix transparent blending #3

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

tshahab-threekit
Copy link
Collaborator

@tshahab-threekit tshahab-threekit commented Jun 25, 2024

  • Add opacity to the Layers and shaders
  • Fix the blending in shader
    • use non-premultiplied alpha inputs for blending
    • fix math for blending in blend.frag

JIRA ticket: https://threekit.atlassian.net/browse/RDMP-944
Jira Epic: https://threekit.atlassian.net/browse/RDMP-941

@DanielSturk
Copy link
Collaborator

This adds opacity and fixes a premultiplied alpha issue with blending

@tshahab-threekit tshahab-threekit changed the title Layercomp solid color add opacity to layers and fix transparent blending Jun 25, 2024
@tshahab-threekit tshahab-threekit self-assigned this Jun 25, 2024
@tshahab-threekit tshahab-threekit merged commit 2dd3955 into master Jun 25, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants